#ifndef PARAFLUIDMPICALCULATOR_H
#define PARAFLUIDMPICALCULATOR_H

namespace ParaFluid
{
	void MPI_start(int & numNode, int & currentNode);
	
	void MPI_stop();
	
	void MPI_sendSPH(char * buffer, int size);
	
	void MPI_receiveSPH(char * & buffer, int & size);
	
	void MPI_sendIndex(int indexFirst, int indexLast);
	
	void MPI_receiveIndex(int & indexFirst, int & indexLast);
	
	void MPI_sendResult(char * data, int size);
	
	void MPI_receiveResult(char * & buffer, int & size);
}

#endif
